﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Community.CsharpSqlite
{
    class UnpackedRecordFlag
    {


        /*
    ** Allowed values of UnpackedRecord.flags
    */
        //#define UnpackedRecordFlag.UNPACKED_NEED_FREE     0x0001  /* Memory is from Malloc.sqlite3Malloc() */
        //#define UnpackedRecordFlag.UNPACKED_NEED_DESTROY  0x0002  /* apMem[]s should all be destroyed */
        //#define UnpackedRecordFlag.UNPACKED_IGNORE_ROWID  0x0004  /* Ignore trailing rowid on key1 */
        //#define UnpackedRecordFlag.UNPACKED_INCRKEY       0x0008  /* Make this key an epsilon larger */
        //#define UnpackedRecordFlag.UNPACKED_PREFIX_MATCH  0x0010  /* A prefix match is considered OK */
        //#define UnpackedRecordFlag.UNPACKED_PREFIX_SEARCH 0x0020  /* A prefix match is considered OK */
        public const int UNPACKED_NEED_FREE = 0x0001; /* Memory is from Malloc.sqlite3Malloc() */
        public const int UNPACKED_NEED_DESTROY = 0x0002; /* apMem[]s should all be destroyed */
        public const int UNPACKED_IGNORE_ROWID = 0x0004; /* Ignore trailing rowid on key1 */
        public const int UNPACKED_INCRKEY = 0x0008; /* Make this key an epsilon larger */
        public const int UNPACKED_PREFIX_MATCH = 0x0010; /* A prefix match is considered OK */
        public const int UNPACKED_PREFIX_SEARCH = 0x0020; /* A prefix match is considered OK */

    }
}
